import httpServer from '../utils/httpServer';

export function getConfig() {
    return httpServer.get('/getConfig');
}

export function setConfig(data) {
    return httpServer.get('/setConfig', data);
}

export function getDp(data) {
    return httpServer.get('/getDp', data);
}

export function getChiGuList(data) {
    return httpServer.get('/getChiGuList', data);
}

export function sell(data) {
    return httpServer.get('/sell', data);
}

export function buy(data) {
    return httpServer.get('/buy', data);
}

export function news(data) {
    return httpServer.get('/getNews', data);
}

export function getWatchChaoDi(data) {
    return httpServer.get('/getWatchChaoDi', data);
}

export function recording(data) {
    return httpServer.get('/getTRecording', data);
}
